The WriteableBitmap.
The color buffer as byte ARGB values.
The starting index in the buffer.
The number of bytes to copy from the buffer.
FromByteArray(WriteableBitmap,Byte[],Int32,Int32) Method
Copies color information from an ARGB byte array into this WriteableBitmap starting at a specific buffer index.
Syntax
[Extension()]
public static WriteableBitmap FromByteArray( 
   WriteableBitmap bmp,
   byte[] buffer,
   int offset,
   int count
)

Parameters

bmp
The WriteableBitmap.
buffer
The color buffer as byte ARGB values.
offset
The starting index in the buffer.
count
The number of bytes to copy from the buffer.

Return Value

The WriteableBitmap that was passed as parameter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also